package com.nd.mobile.study.domain;

import com.fuckhtc.gson.annotations.SerializedName;

public class Result<T> {
	
	public static String HOMEWORK_SUCCESS = "1";
	public static String HOMEWORK_FAILED = "0";
	
	@SerializedName("ReturnInfo")
	private T		body;
	
	@SerializedName("PromptInfo")
	private String	prompt;
	
	public T getBody() {
		return body;
	}
	public String getPrompt() {
		return prompt;
	}
	
	public Result(T body, String prompt) {
		this.body = body;
		this.prompt = prompt;
	}
}
